package com.example.landmanagement.common.exception;


import com.example.landmanagement.util.CodeEnum;

/**
 * className MVCException
 *  自定义异常
 * @author Java DaKun
 * @date 2021/7/14
 * @version:1.0
 * @since:jdk:1.8
 */
public class MVCException extends Exception{

    private CodeEnum codeEnum;

    public MVCException(CodeEnum codeEnum){
        this.codeEnum = codeEnum;
    }

    public CodeEnum getCodeEnum() {
        return codeEnum;
    }

    public void setCodeEnum(CodeEnum codeEnum) {
        this.codeEnum = codeEnum;
    }
}
